package com.chuyan.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import com.chuyan.service.ISmsService;
import com.chuyan.service.IUserService;

/**
 * @author weiyonghua
 *
 * 2016年8月24日 下午3:26:34
 */
@Controller
@RequestMapping("/user")
public class UserController {
	@Autowired
	ISmsService smsService;
	
	@ResponseBody
	@RequestMapping("/hello")
	public String hello() {
		
		return this.smsService.sayHello();
	}
}
